package com.million;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author: studyboy
 * @Date: 2022/4/1  10:52
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.million.cmsService.mapper")
@ComponentScan(basePackages = {"com.million"}) //为了扫描到service_base中的config包下的配置类
public class ServiceCmsApplicationMain {
    public static void main (String[] args) {
        SpringApplication.run(ServiceCmsApplicationMain.class,args);
    }
}
